﻿using ET_DbCommon.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET_DbCommon.DAL
{
    public class Device_StateDAL
    {
        public static List<Device_StateModel> GetAll()
        {
            using (var conn = MySqlHelper.GetConnection())
            {
                return MySQLExt.GetAll<Device_StateModel>(conn).ToList();
            }
        }
    }
}
